﻿using SportsPlatform.Base;
using SportsPlatform.Dto.PermissionManagement.CompanyInfo;
using SportsPlatform.Dto.SportBusiness.CompetitionAchievementInfo;
using SportsPlatform.Dto.SportBusiness.GetPaymentOrderInfo;
using SportsPlatform.Dto.SportBusiness.PaymentOrderOperationInfo;
using SportsPlatform.Dto.SportBusiness.RegistrationInfo;
using SportsPlatform.Query.Competition;
using SportsPlatform.Query.SportBusiness.GetPaymentOrderInfo;
using SportsPlatform.Query.SportBusiness.PaymentOrderInfo;
using SportsPlatform.Query.SportBusiness.RegistrationInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.SportBusiness.ISportBusiness
{
    /// <summary>
    /// 
    /// </summary>
    public interface IPaymentOrderInfoService
    {
        /// <summary>
        /// 添加订单信息
        /// </summary>
        /// <param name="infoQuery">传入参数</param>
        /// <returns></returns>
        Task<ResultByIdDto> AddInfo(AddPaymentOrderInfoQuery infoQuery);

        /// <summary>
        /// 更新订单信息
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<BaseResultDto> UpdatePaymentOrderInfo(UpdatePaymentOrderInfoQuery query);

        /// <summary>
        /// 获取赛事列表
        /// </summary>
        /// <returns></returns>
        Task<ResultListDto<GetCompetitionSelectItemQuery>> GetAll();

        /// <summary>
        /// 获取赛事商户列表
        /// </summary>
        /// <returns></returns>
        Task<ResultListDto<GetCompanysSelectItemListQuery>> GetCompanysList();

        /// <summary>
        /// 获取订单信息特定属性接口
        /// </summary>
        /// <returns></returns>
        Task<ResultDto<GetPaymentOderInfoDto>> GetByPaymentOrderInfoDetailsId(GetInfoQuery query);

        /// <summary>
        /// 列表查询
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<PagePagingDto<PaymentOrderInfoListDto>> GetPaymentOrderInfoList(GetPaymentOrderInfoQuery Query);


        /// <summary>
        /// 获取订单信息标题属性接口
        /// </summary>
        /// <param name="query">传入参数</param>
        /// <returns></returns>
        Task<ResultDto<GetPaymentOderInfoTitleDto>> GetPaymentOderInfoTitleById(GetInfoQuery query);

        /// <summary>
        /// 添加订单详情备注
        /// </summary>
        /// <param name="query">传入参数</param>
        /// <returns></returns>
        Task<BaseResultDto> AddOrderNotes(AddOrderNotesQuery query);

        /// <summary>
        /// 获取费用信息
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<ResultDto<GetPriceInfoQuery>> GetPriceInfo(GetInfoQuery query);

        /// <summary>
        /// 获取提交用户信息
        /// </summary>
        /// <returns></returns>
        Task<ResultDto<GetCommitEmployeeQuery>> GetCommitEmployee(GetInfoQuery query);

        /// <summary>
        /// 获取报名信息
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<ResultListDto<GetRegistrationInfoQuery>> GetRegistrationInfo(GetInfoQuery query);

        /// <summary>
        /// 获取操作记录列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<ResultDto<DownloadEventsSessionCompetitionAchievementDto>> ExportActionInfo(GetActionInfoQuery query);

        /// <summary>
        /// 获取操作记录列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<ResultListDto<PaymentOrderOperationInfoListDto>> GetOrderInfoList(GetInfoQuery query);
    }
}
